package day20171127;

public class WordFreq {
    private String word;
    private int count;

    public WordFreq(String word, int count){
        this.word = word;
        this.count = count;
    }
    public int getCount() {
        return count;
    }

    public String toString(){
        return word + "\t" + count;
    }
}
